package com.joyintech.vo.preciousMetal03.resp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;

import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
public class Response {



    @JacksonXmlElementWrapper(localName = "ResultSet")
    @JacksonXmlProperty(localName = "Line")
    List<Line> lines;

    /**
     * 本包最小序号+本次查询记录条数
     */
    @JacksonXmlProperty(localName = "PackageNo")
    String packageNo;

    /**
     * 结束标志 Y-结束，N-未结束
     */
    @JacksonXmlProperty(localName = "EndFlag")
    String endFlag;

    public List<Line> getLines() {
        return lines;
    }

    public void setLines(List<Line> lines) {
        this.lines = lines;
    }

    public String getPackageNo() {
        return packageNo;
    }

    public void setPackageNo(String packageNo) {
        this.packageNo = packageNo;
    }

    public String getEndFlag() {
        return endFlag;
    }

    public void setEndFlag(String endFlag) {
        this.endFlag = endFlag;
    }

    @Override
    public String toString() {
        return "Response{" +
                "lines=" + lines +
                ", packageNo='" + packageNo + '\'' +
                ", endFlag='" + endFlag + '\'' +
                '}';
    }
}
